﻿@model Site3AI.Models.CmsItem

@{
    ViewBag.Title = "Preview";
}

<h2>Preview</h2>

<fieldset>
    <legend>CmsItem</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CmsCatalogID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CmsCatalogID)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Title)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TitleShort)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TitleShort)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.UpdateTime)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UpdateTime)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.SortIdx)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SortIdx)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TextContent)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TextContent)
    </div>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.HtmlContent)
    </div>
    <div style="border:2px solid blue;">
        @Html.Raw(Model.HtmlContent)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
